package com.canaan.business.domain.quality;

import com.canaan.common.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.canaan.common.annotation.Excel;
import com.canaan.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 质检项对象 wms_quality_item
 *
 * @author ruoyi
 * @date 2023-02-02
 */
@ApiModel(description = "wms_quality_item")
@TableName("wms_quality_item")
public class QualityItem extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    @ApiModelProperty("${comment}")
    private Long id;

    /** 质检项编码 */
    @ApiModelProperty("质检项编码")
    private String no;

    /** 质检项名称 */
    @Excel(name = "质检项名称")
    @ApiModelProperty("质检项名称")
    private String name;

    /** 值类型    RANGE(范围值)STATUS(状态值)
    */
    @Excel(name = "值类型")
    @ApiModelProperty("值类型    RANGE(范围值)STATUS(状态值")
    private String valueType;

    /** 方法 */
    @Excel(name = "方法")
    @ApiModelProperty("方法")
    private String method;

    /** 备注 */
    @ApiModelProperty("备注")
    @Excel(name = "备注")
    private String remark;

    /** 质检项名称列表 */
    @ApiModelProperty("质检项名称列表")
    private List<String> names;

    /** $column.columnComment */
    @ApiModelProperty("${comment}")
    private Long sort;

    /** $column.columnComment */
    @ApiModelProperty("${comment}")
    private String delFlag;

    /** 不查询的no */
    @ApiModelProperty("不查询的no")
    private List<String> notInNos;

    public List<String> getNames() {
        return names;
    }

    public void setNames(List<String> names) {
        this.names = names;
    }

    public List<String> getNotInNos() {
        return notInNos;
    }

    public void setNotInNos(List<String> notInNos) {
        this.notInNos = notInNos;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setNo(String no)
    {
        this.no = no;
    }

    public String getNo()
    {
        return no;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setValueType(String valueType)
    {
        this.valueType = valueType;
    }

    public String getValueType()
    {
        return valueType;
    }
    public void setMethod(String method)
    {
        this.method = method;
    }

    public String getMethod()
    {
        return method;
    }
    public void setSort(Long sort)
    {
        this.sort = sort;
    }

    public Long getSort()
    {
        return sort;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("no", getNo())
            .append("name", getName())
            .append("valueType", getValueType())
            .append("method", getMethod())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .append("sort", getSort())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
